<html>
<head>
<meta charset="utf-8"/>
<title>{:C('WEB_SITE_TITLE')}{:C('WEB_SITE_SLOGAN')}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<link href="__HOME_CSS__/reset.css" rel="stylesheet" type="text/css" />
<link href="__HOME_CSS__/common.css" rel="stylesheet" type="text/css" />
<link href="__HOME_CSS__/bgf_index.css" rel="stylesheet" type="text/css" />
<!-- Link Swiper's CSS -->
<link rel="stylesheet" href="__HOME_CSS__/swiper.min.css">
<!-- Demo styles -->
<script type="text/javascript" src="__HOME_JS__/jquery-1.9.1.min.js"></script>

</head>
<body>
<script>
    function change_html(){
        var font_size=$(window).width()/16;
        if(font_size > 40){
            font_size = 40;
        }
        $("html").css('font-size',font_size);
    }
    window.onresize=function(){
        change_html();
    }
    
    change_html();
</script>
<style>
.swiper-slide img,.swiper-slide  a{
    	width: 100%;
        height: auto;
}
</style>

<!-- <header> -->
		<!-- <div class="tab_nav"> -->
			<!-- <i class="iconfont left"><a href="javascript:window.opener=null;window.open('','_self');window.close();"><img src="__HOME_IMG__/icon2.png"/></a></i> -->
			 <!-- <h1>手机报价</h1> -->
		<!-- </div> 	 -->
<!-- </header> -->

<div id="content">
  
  <!--广告轮播图 开始-->
<if condition="$logo">	
<div id="banner" class="clear">
	<div class="swiper-container">
		<div class="swiper-wrapper">
		<volist name="img" id="lunbo_img">	
			<div class="swiper-slide">
				<a href="{$lunbo_img.href}" target="_blank">
					<img src="__ROOT__{$lunbo_img.path}"/>
				</a>
			</div>
		</volist>
			<!-- <div class="swiper-slide"> -->
				<!-- <a href="http://www.baidu.com" target="_blank"> -->
					<!-- <img src="__HOME_IMG__/banner2.jpg" title="标题" /> -->
				<!-- </a> -->
			<!-- </div> -->
		
		</div>
		<!-- 焦点图圆点 -->
		<div class="swiper-pagination"></div>
	</div>
</div>
</if>
  <!--广告轮播图 结束-->
  
  <!--导航 数码头条 start-->
    <div id="menubox">	
	<if condition="$logo">	
    	<div class="bd">
    		<ul>
			<volist name="logo" id="daoh_logo">	
    			<li>
    				<a href="{$daoh_logo.href}" target="_blank" id="wzsearch">
	    				<img src="__ROOT__{$daoh_logo.path}" />
	    				<span>{$daoh_logo.name}</span>
    			     </a>
    			</li>
			</volist>	    			
    		</ul>
    		<div class="clear"></div>
    	</div>
	</if>
    	<if condition="$toutiao">	
    	<div class="hd">
    		<span class="left s-width">数码头条</span>
			
    		<span class="left over">
			<div class="txtScroll-top">
				<div class="cd">
					<ul class="infoList">
					<volist name="toutiao" id="text">	
						<li><a href="{$text.href}" target="_blank">{$text.name}</a></li>
					</volist>							
					</ul>
				</div>
			</div>
			</span>	
    	</div>
		</if>
		<div class="y-dingdan">
			<a href="{:U('Index/price')}">
				<span>手机报价</span>
				<span class="f_r"><img src="__HOME_IMG__/right.png" /></span>
			</a>	
		</div>
    </div>
  
  <!--导航 数码头条 end-->
  
  <!--品牌 start-->
  <div id="mdzx">
  	  <div class="bd">
  	  	<ul>
		<volist name="arr" id="brand_img">	
      	  	<li>
				<a href="{:U('Index/price',array('id'=>$brand_img[id]))}">
					<img src="__ROOT__{$brand_img.path}" alt="" />
				<span>{$brand_img.brand_name}</span></a>
			
      	  	</li>
		</volist>	
  	  	</ul>
  	  	<div class="clear"></div>
  	  </div>
  </div> 
  <!--品牌 end-->

  <div class="clear"></div>


	<script type="text/javascript" src="__HOME_JS__/swiper.min.js"></script>
	<script type="text/javascript" src="__HOME_JS__/jquery.SuperSlide.2.1.1.js"></script>
	<script>
		/*焦点图*/
		var swiper = new Swiper('.swiper-container', {
			pagination: '.swiper-pagination',
			paginationClickable: true,
			// spaceBetween: 30,
			autoplay: 3000
		});
	</script>	
	<script type="text/javascript">
		jQuery(".txtScroll-top").slide({titCell:".hd ul",mainCell:".cd ul",autoPage:true,effect:"topLoop",autoPlay:true,vis:1,delayTime:500});
	</script>
	
</div>

</body>
</html>
